package com.atguigu.tingshu.order.service;

import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.vo.order.OrderInfoVo;
import com.atguigu.tingshu.vo.order.TradeVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderInfoService extends IService<OrderInfo> {


    /**
     * @author WeakMoon
     * @date 2025/03/07 17:10:39
     * 生成订单详情页
     */
    OrderInfoVo trade(TradeVo tradeVo, Long userId);

    /**
     * @author WeakMoon
     * @date 2025/03/09 22:21:23
     * 提交订单
     */
    String submitOrder(OrderInfoVo orderInfoVo, Long userId);
}
